package org.example.helloworld.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @GetMapping("/hello")
    public String hello(String nickname,String phone) {
        System.out.println("phone number is "+phone);
        return "hello "+nickname;
    }
}
